import { createI18n } from "vue-i18n";
/*
 * All i18n resources specified in the plugin `include` option can be loaded
 * at once using the import syntax
 */
//import messages from "@intlify/unplugin-vue-i18n/messages";
import messages from "@/locales/index";

console.log("messages:", messages);
const i18n = createI18n<false>({
  locale: "en",
  legacy: false,
  globalInjection: true,
  fallbackLocale: "en",
  messages,
  missing: (key, vue) => {
    return "";
  }
});

export default i18n;
